var table;
var $;
var layer;
layui.use(['table', 'jquery', 'layer'], function () {
    table = layui.table;
    $ = layui.jquery;
    layer = layui.layer;
    table.render({
        elem: "#root",
        url: "/loginRecord/getJsJsLoginRecord",
        page: true,
        limit: 15,
        limits: [10, 20, 30],
        cols: [[
            {field: 'loginDate', title: '登录时间', align: 'center'},
            {field: 'loginIp', title: '登录IP', align: 'center'},
            {field: 'loginAddress', title: '登录地区', align: 'center'},
        ]]
    });
});